import request from '@/utils/request'
import da from "element-ui/src/locale/lang/da";

//列表
export function listData(data) {
  return request({
    url: '/client-version/getListData' + '?pageSize=' + data.pageSize + '&pageNum=' + data.pageNum,
    method: 'get'
    // params: id
  })
}

//添加
export function addVersion(data) {
  return request({
    url: '/client-version/addVersion' + '?pageSize=' + data.pageSize + '&pageNum=' + data.pageNum,
    method: 'post',
    data:data
  })
}

//删除
export function deleteVersion(data) {
  return request({
    url: '/client-version/deleteVersion' + '?id=' + data.id,
    method: 'get'
  })
}
